#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "OLED.h"
#include "CountSensor.h"

//对射式红外传感器计次
int main(void){
	OLED_Init();
	CountSensor_Init();
	OLED_ShowString(1,3,"Hello world!");
	OLED_ShowString(2,1,"Count");
	while(1){
		OLED_ShowNum(2,7,Get_Count(),5);
	}
}
